package com.example.leetcode.array;

import com.example.leetcode.array.common.ArrayUtils;

class SolutionLCR10 {
    public int subarraySum(int[] nums, int k) {
        return ArrayUtils.subarraySum(nums, k);
    }
}

public class LCR10 {
    public static void main(String[] args) {
        SolutionLCR10 solutionLCR10 = new SolutionLCR10();
//        int[] nums = {1, 1, 1};
//        int k = 2;

        int[] nums = {1};
        int k = 1;
        System.out.println(solutionLCR10.subarraySum(nums, k));
    }
}
